home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 August / macformat-053.iso / mac / Demos / Acacia Educational Multimedia / START.Dxr / 00074.ls < prev    next >
Encoding:
Text File  |  1997-04-15  |  666 b   |  24 lines

  1. on mouseDown
  2.   global gDown
  3.   set gDown to 5
  4.   set the memberNum of sprite 5 to 24
  5.   puppetSound(3, "vol 1")
  6.   updateStage()
  7. end
  8.  
  9. on mouseUp
  10.   global gDown, gTestList, gCursor
  11.   if gDown = 5 then
  12.     cursor(4)
  13.     set gDown to 0
  14.     set the memberNum of sprite 5 to 25
  15.     updateStage()
  16.     set gTestList to [230101: [1101, 9, 0.0, 0.0], 230106: [1101, 9, 0.0, 0.0], 240201: [1101, 9, 0.0, 0.0], 240211: [1101, 9, 0.0, 0.0], 230205: [1101, 9, 0.0, 0.0], 230212: [1101, 9, 0.0, 0.0], 240102: [1101, 9, 0.0, 0.0], 240112: [1101, 9, 0.0, 0.0]]
  17.     puppetSound(3, "vol 1")
  18.     repeat while soundBusy(3)
  19.     end repeat
  20.     set gCursor to 1
  21.     go("finishG")
  22.   end if
  23. end
  24.